﻿using System.Collections.Generic;
using BusinessNews;
   namespace DataNews.StandartInterfaces
   {
       /// <summary>
       /// INewsLog interface
       /// </summary>
       public interface INewsLog
       {
           object CreateNewsLog(NewsLog info);
           //object CreateNewsLog(string Title, string content, string iP, string location, string device, string createdBy, DateTime createdDate, string type);
           object UpdateNewsLog(NewsLog info);
           //object UpdateNewsLog(long id, string Title, string content, string iP, string location, string device, string createdBy, DateTime createdDate, string type);
           object DeleteNewsLog(long id);
           object DeleteNewsLog(string id);
           NewsLog GetNewsLog(long id);
           List<NewsLog> GetAllNewsLog();
           List<NewsLog> GetPagingNewsLog(int currentPage, ref int totalRows);
			
       }
   } 
